/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.shop.service.cart;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.hk.shop.entity.cart.HkShopUserCart;
import com.thinkgem.jeesite.modules.hk.shop.dao.cart.HkShopUserCartDao;

/**
 * 购物车Service
 * @author 罗天文
 * @version 2018-07-09
 */
@Service
@Transactional(readOnly = true)
public class HkShopUserCartService extends CrudService<HkShopUserCartDao, HkShopUserCart> {

	public HkShopUserCart get(String id) {
		return super.get(id);
	}
	
	public List<HkShopUserCart> findList(HkShopUserCart hkShopUserCart) {
		return super.findList(hkShopUserCart);
	}
	
	public Page<HkShopUserCart> findPage(Page<HkShopUserCart> page, HkShopUserCart hkShopUserCart) {
		return super.findPage(page, hkShopUserCart);
	}
	
	@Transactional(readOnly = false)
	public void save(HkShopUserCart hkShopUserCart) {
		super.save(hkShopUserCart);
	}
	
	@Transactional(readOnly = false)
	public void delete(HkShopUserCart hkShopUserCart) {
		super.delete(hkShopUserCart);
	}
	
}